<div class="shop-topbar am-cf" >

    <div class="topbar-nav">
        <div class="shop-container">
            <div class="nav-left am-fl am-padding-left-sm">
				<empty name="user">
				亲!欢迎来到斑马商城,请&nbsp;&nbsp;&nbsp;<a style="color: #B02751;" target="_blank" href="{:U('Shop/Index/login')}">登录</a><span class="sep">|</span><a target="_blank" style="color: #B02751;" href="{:U('Shop/Index/register')}">注册</a>
				<else/>
					欢迎你！<a>{$user['username']}</a> &nbsp; &nbsp; &nbsp; &nbsp;<a href="{:U('Shop/User/index',array('id'=>$user['id']))}">个人中心</a>
					&nbsp; &nbsp; &nbsp; &nbsp;<a href="{:U('Shop/Index/loginout')}">退出登录</a>
				</empty>
            </div>
            <div class="nav-right am-fr am-padding-right-sm">
                <a class="" style="color: orangered;" href="{:U('Shop/Index/phoneapp')}"><i class="am-icon-mobile am-margin-right-xs"></i>手机APP</a><span class="sep">|</span>
                <a class="" style="color: orangered;" href="{:U('Shop/ShoppingCart/index')}"><i class="am-icon-shopping-cart am-margin-right-xs"></i>购物车({$cart_item_count})</a><span class="sep">|</span>
                <a class="jht" href="{:U('Shop/User/order')}"> 我的订单</a><span class="sep">|</span>
                <a class="jhta" href="{:U('Shop/Article/index')}">帮助<i class="am-icon-question am-margin-right-xs"></i></a>
            </div>
        </div>
    </div>

    <div class="shop-container topbar-search-logo am-cf " >

        <a class="am-fl logo" href="{:U('Shop/Index/index')}" ><img src="__IMG__/logo.png" style="margin-top:20px;"></a>

        <div class="am-fr search">
            <form action="{:U('Shop/Index/search')}" method="post">
                <input type="text" name="s_name" placeholder="输入查找的商品" value="{$s_name}" class="input"/>
                <input type="submit"  class="btn-search" value="" style="background-image: url(__IMG__/searchbtn.jpg)"/>
                <div  id="znss"><span class="am-link-muted" ><small>大麦若叶</small></span><span><small>葡萄籽</small></span><span><small>护眼灵</small></span><span><small>补镁片</small></span></div>
            </form>
        </div>
    </div>

</div>
<script type="text/javascript">
    $("#znss small").hover(function(){
        $('.topbar-search-logo .search .input').val($(this).text());
    })
</script>